home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / winexit.zip / MAKEFILE next >
Text File  |  1993-07-19  |  1KB  |  81 lines

  1. .AUTODEPEND
  2.  
  3. #        *Translator Definitions*
  4. CC = bcc +WINEXIT.CFG
  5. TASM = TASM
  6. TLIB = tlib
  7. TLINK = tlink
  8. LIBPATH = C:\DAPPS\BC\LIB
  9. INCLUDEPATH = C:\DAPPS\BC\INCLUDE
  10.  
  11.  
  12. #        *Implicit Rules*
  13. .c.obj:
  14.   $(CC) -c {$< }
  15.  
  16. .cpp.obj:
  17.   $(CC) -c {$< }
  18.  
  19. #        *List Macros*
  20. Link_Exclude =  \
  21.  winexit.res
  22.  
  23. Link_Include =  \
  24.  winexit.obj \
  25.  winexit.def \
  26.  ..\..\..\dapps\bc\lib\bwcc.lib
  27.  
  28.  
  29. # install
  30. all:    winexit.exe
  31.         tdstrip winexit.exe
  32.  
  33. # clean
  34. clean:
  35.         del *.obj
  36.         del *.bak
  37.         del *.sym
  38.         del *.rws
  39.         del *.~*
  40.         del *.res
  41.         del *.exe
  42.  
  43. #        *Explicit Rules*
  44. winexit.exe: winexit.cfg $(Link_Include) $(Link_Exclude)
  45.   $(TLINK) /v/x/c/P-/Twe/L$(LIBPATH) @&&|
  46. c0ws.obj+
  47. winexit.obj
  48. winexit
  49.         # no map file
  50. ..\..\..\dapps\bc\lib\bwcc.lib+
  51. mathws.lib+
  52. import.lib+
  53. cws.lib
  54. winexit.def
  55. |
  56.   BRC  winexit.res winexit.exe
  57.  
  58.  
  59. #        *Individual File Dependencies*
  60. winexit.obj: winexit.cfg winexit.c 
  61.  
  62. winexit.res: winexit.cfg winexit.rc 
  63.         BRC -R -I$(INCLUDEPATH) -FO winexit.res WINEXIT.RC
  64.  
  65. #        *Compiler Configuration File*
  66. winexit.cfg: makefile.
  67.   copy &&|
  68. -R
  69. -3
  70. -w+
  71. -v
  72. -W
  73. -vi-
  74. -H=WINEXIT.SYM
  75. -I$(INCLUDEPATH)
  76. -L$(LIBPATH)
  77. -P-.C
  78. | winexit.cfg
  79.  
  80.  
  81.